package com.fagp.mew.cms.sdp.quarze;

import com.mew.common.dc.mapper.DailyTranCardMapper;
import com.mew.common.dc.mapper.GoldTotalMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

@EnableScheduling
@Component
public class GoldTotalQuarze {
    @Autowired
    private GoldTotalMapper goldTotalMapper;
    @Autowired
    private DailyTranCardMapper dailyTranCardMapper;

    /**
     * 金币统计
     */
//    @Scheduled(cron = "0 00 23 * * ?")//每天晚上11点00
//    //@Scheduled(initialDelay =6000, fixedRate = 600000*1)
//    public void push(){
//        //goldTotalMapper.upAllGold();
//        //dailyTranCardMapper.insertTranCard();
//    }
}
